package com.matt.malltinylombok.example;

import lombok.ToString;

/**
 * ToStringExample
 * Created by jiachun.lu on 2025/02/10.
 */
@ToString
public class ToStringExample {
    private Long id;
    private String name;
    private Integer age;
    public ToStringExample(Long id, String name, Integer age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }

    public static void main(String[] args) {
        ToStringExample example = new ToStringExample(1L, "test", 20);
        System.out.println(example);
    }
}
